package vnreal.gui.menu;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuItem;

public class CustomersMenu extends JMenu implements ActionListener {
	public CustomersMenu() {
		super("Customers");

		JMenuItem cb = new JMenuItem("Set Customers");
		cb.setActionCommand("customers");
		cb.addActionListener(this);
		add(cb);
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		String cmd = e.getActionCommand();
		if (cmd.equals("customers")) {

			JFrame jf = new SetCustomersPanel();
			jf.setLayout(new BorderLayout());
			
			
		}
	}
}
